-- 功能权限 IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',cSub_Id=N'SA',iGrade=N'2',cSupAuth_Id=N'SARPT',bEndGrade=N'0',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'SA',N'2',N'SARPT',N'0',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',cAuth_Name=N'单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',cAuth_Name=N'单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',cAuth_Name=N'单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',cAuth_Name=N'Query:单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',N'Query:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',cAuth_Name=N'查询:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',N'查询:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',cAuth_Name=N'查詢:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_01',N'查詢:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',cAuth_Name=N'Configurat单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',N'Configurat单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',cAuth_Name=N'设置:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',N'设置:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',cAuth_Name=N'設置:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_02',N'設置:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',cAuth_Name=N'Print:单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',N'Print:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',cAuth_Name=N'打印:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',N'打印:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',cAuth_Name=N'列印:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_03',N'列印:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',cAuth_Name=N'Output:单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',N'Output:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',cAuth_Name=N'输出:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',N'输出:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',cAuth_Name=N'輸出:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_04',N'輸出:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',cAuth_Name=N'Publish:单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',N'Publish:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',cAuth_Name=N'发布:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',N'发布:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',cAuth_Name=N'發佈:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_05',N'發佈:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Base WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' ) BEGIN UPDATE UA_Auth_Base SET cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',cSub_Id=N'SA',iGrade=N'3',cSupAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',bEndGrade=N'1',iOrder=N'77',cAuthType=NULL WHERE cAuth_Id=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' END ELSE BEGIN INSERT INTO UA_Auth_Base(cAuth_Id,cSub_Id,iGrade,cSupAuth_Id,bEndGrade,iOrder,cAuthType)VALUES(N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',N'SA',N'3',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa',N'1',N'77',NULL) END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'en-US',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',cAuth_Name=N'View:单据数目对照表' WHERE localeid=N'en-US' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'en-US',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',N'View:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-CN',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',cAuth_Name=N'视图:单据数目对照表' WHERE localeid=N'zh-CN' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-CN',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',N'视图:单据数目对照表') END GO IF EXISTS(SELECT TOP 1 * FROM UA_Auth_Lang WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' ) BEGIN UPDATE UA_Auth_Lang SET localeid=N'zh-TW',cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',cAuth_Name=N'視圖:单据数目对照表' WHERE localeid=N'zh-TW' AND cAuth_ID=N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b' END ELSE BEGIN INSERT INTO UA_Auth_Lang(localeid,cAuth_ID,cAuth_Name)VALUES(N'zh-TW',N'SA[__]b6179ec1-8741-48b0-983e-54a84c2920fa_6c420594-068c-4023-b76b-056729798c1b',N'視圖:单据数目对照表') END GO